<?php
$cars = array("Volno","BMW","Toyota");
echo $cars[0]."     ";
echo $cars[1]."     ";
echo $cars[2]."     ";


$cars[2] = "audi";
echo "<pre>";
print_r($cars);
echo count($cars);
sort($cars);
 
foreach ($cars as $value) {
    echo $value,"  ";
} 
echo "<hr/>";
 $message = array(
    'pic' => 'images/2.jpg ',
    'name' => 'adsdsss111',
    'content' => '天天好心情                    <span> (来自火星"女侠"的留言)</span>'
    ); 
 
    foreach ($message as $key => $value) {
          echo $key . "=>" . $value . "<br/>";
}
 
 
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

